/*/*
 * TransactionLineBO.java
 *
 * Created on February 13, 2007
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package finalintex2web;
import java.util.*;

/**
 * Business object for transaction lines
 * @author craig marshall
 */
public class TransactionLineBO {
    
    private String id = null;
    private RevenueSourceBO revsrc = null;
    private String revsrctype = null;
    private CouponBO coup = null;
    private TransactionBO trans;
    private boolean indb = false , dirty = false;
   
    
    
    
    /** Creates a new instance of TransactionLineBO */
    TransactionLineBO(String id) {
        this.setId(id);
        
    }

    /**
     * 
     * @return 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public RevenueSourceBO getRevsrc() {
        return revsrc;
    }

    /**
     * 
     * @param revsrc 
     */
    public void setRevsrc(RevenueSourceBO revsrc) {
        this.revsrc = revsrc;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public boolean isIndb() {
        return indb;
    }

    /**
     * 
     * @param indb 
     */
    public void setIndb(boolean indb) {
        this.indb = indb;
    }

    /**
     * 
     * @return 
     */
    public boolean isDirty() {
        return dirty;
    }

    /**
     * 
     * @param dirty 
     */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    /**
     * 
     * @return 
     */
    public CouponBO getCoup() {
        return coup;
    }

    /**
     * 
     * @param coup 
     */
    public void setCoup(CouponBO coup) {
        this.coup = coup;
    }

    /**
     * 
     * @return 
     */
    public TransactionBO getTrans() {
        return trans;
    }

    /**
     * 
     * @param trans 
     */
    public void setTrans(TransactionBO trans) {
        this.trans = trans;
    }

    /**
     * 
     * @return 
     */
    public String getRevsrctype() {
        return revsrctype;
    }

    /**
     * 
     * @param revsrctype 
     */
    public void setRevsrctype(String revsrctype) {
        this.revsrctype = revsrctype;
    }
}
